-
as seen on Simple Talk
- Search for 'Simple Talk'
There are a number of news-feeds for the Simple-Talk site, but for some reason they are well hidden. Whilst we set about reorganizing them, I thought it would be a good idea to list some of the more important ones. The most important one for almost all purposes is the Homepage RSS feed which represents…
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
Depending on the application sometimes we have to maintain some shared service throughout our application. Let’s say you are developing a multi-blog supported blog engine where both the controller and view must know the currently visiting blog, it’s setting , user information and url generation service…
>>> More
-
as seen on Ezine Articles
- Search for 'Ezine Articles'
There are so many informative blogs in the online arena today. Sadly, not all of them are getting the kind of attention they deserve. One of the reasons is because their content is not properly optimized. SEO blog writing doesn't need to be a complicated task. Here's an easy...
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have two models defined
from django.db import models
class Blog(models.Model):
title = models.CharField(max_length=144)
@property
def posts(self):
self.Post_set.all()
class Post(models.Model):
title = models.CharField(max_length=144)
text = models.TextField()
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Don't really know how to formulate the title, but it should be pretty obvious from the example.
More specifically, what rules do you use for naming "dependent" classes. For example, Blog is a pretty descriptive name itself, but how do I deal with posts? BlogPost or Post? Clearly, first name clearly…
>>> More